package s.k.gui.webtest.unittest;

import java.util.Map;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.Test;

import s.k.gui.webtest.data.provider.Provider;

public class OpenFireFox{

	@Test(dataProvider="SimpleGet",dataProviderClass=Provider.class)
	public void testOpenFireFox(Map<Object,Object>data) throws InterruptedException{
		System.setProperty("webdriver.firefox.bin","E:\\Program Files\\Mozilla Firefox\\firefox.exe");
		WebDriver driver = new FirefoxDriver();
		driver.get((String) data.get("URL"));
		Thread.sleep(3000);
		driver.close();
	}
}
